import socket

buffer_size=1024

#UDP
sock=socket.socket(socket.AF_INET,socket.SOCK_DGRAM)
sock.bind(('',6666))

while True:
    recv=sock.recv(buffer_size).decode()
    print(recv)
